package com.gxc.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author GongXincheng
 * @since 2019-08-17 10:07
 */
@Data
@Component
@ConfigurationProperties(prefix = "gxc")
public class PropertiesConfigBean {

    private String username;
    private String password;
    private Integer age;
    private String desc;

}
